package com.javaee.interceptor.entity;
//商品类
public class goods {
    Integer goods_id;//商品id
    String goods_name;//商品名称
    float goods_price;//商品价格
    int goods_nums;//商品数量

    public goods(Integer goods_id, String goods_name, float goods_price, int goods_nums) {
        this.goods_id = goods_id;
        this.goods_name = goods_name;
        this.goods_price = goods_price;
        this.goods_nums = goods_nums;
    }

    public Integer getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(Integer goods_id) {
        this.goods_id = goods_id;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public float getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(float goods_price) {
        this.goods_price = goods_price;
    }

    public int getGoods_nums() {
        return goods_nums;
    }

    public void setGoods_nums(int goods_nums) {
        this.goods_nums = goods_nums;
    }
}
